package com.dding.cms.base.entity;

import org.javalite.activejdbc.Model;
import org.javalite.activejdbc.annotations.BelongsTo;
import org.javalite.activejdbc.annotations.BelongsToParents;
import org.javalite.activejdbc.annotations.IdName;
import org.javalite.activejdbc.annotations.Table;

@Table("jc_channel")
@IdName("channel_id")
@BelongsToParents({
		@BelongsTo(parent = BaseModel.class, foreignKeyName = "model_id"),
		@BelongsTo(parent = Channel.class, foreignKeyName = "parent_id") })
public class Channel extends Model {

}
